<?php
defined('IN_SITE') or exit('Access Denied');

include 'forum.class.php';
$forum = new forum();

switch($action)
{
    case 'add':
		
		
		include ($module.'_add.tpl.php');
	break;
	
	case 'manage':
		
		
		//$result = $db->select("SELECT * FROM `".DB_PRE."forum`");
		$result = $forum->listinfo($where = '', $order = '', $page = 1, $pagesize = 1);
		
		include ($module.'_manage.tpl.php');
	break;
	
	case 'setting':
		echo '1';
	break;
}
?>